package com.zs.java.newFeatures;

/**
 * @author madison
 * @description
 * @date 2021/5/26 10:51
 */
public class Cat implements Animal{
    private String action;
    @Override
    public void printName() {
        System.out.println("cat");
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
